
/**
  ******************************************************************************
  * Copyright 2021 The Microbee Authors. All Rights Reserved.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  * 
  * http://www.apache.org/licenses/LICENSE-2.0
  * 
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  * 
  * @file       mb_message.h
  * @author     baiyang
  * @date       2022-11-3
  ******************************************************************************
  */

#pragma once

#ifdef __cplusplus
extern "C"{
#endif

/*----------------------------------include-----------------------------------*/

/*-----------------------------------macro------------------------------------*/

/*----------------------------------typedef-----------------------------------*/
enum mb_message {
    MAV_MSG_HEARTBEAT = 0,
    MAV_MSG_ATTITUDE,
    MAV_MSG_ATTITUDE_QUATERNION,
    MAV_MSG_LOCATION,
    MAV_MSG_SYS_STATUS,
    MAV_MSG_POWER_STATUS,
    MAV_MSG_MEMINFO,
    MAV_MSG_NAV_CONTROLLER_OUTPUT,
    MAV_MSG_CURRENT_WAYPOINT,
    MAV_MSG_VFR_HUD,
    MAV_MSG_SERVO_OUTPUT_RAW,
    MAV_MSG_RC_CHANNELS,
    MAV_MSG_RC_CHANNELS_RAW,
    MAV_MSG_RAW_IMU,
    MAV_MSG_SCALED_IMU,
    MAV_MSG_SCALED_IMU2,
    MAV_MSG_SCALED_IMU3,
    MAV_MSG_SCALED_PRESSURE,
    MAV_MSG_SCALED_PRESSURE2,
    MAV_MSG_SCALED_PRESSURE3,
    MAV_MSG_GPS_RAW,
    MAV_MSG_GPS_RTK,
    MAV_MSG_GPS2_RAW,
    MAV_MSG_GPS2_RTK,
    MAV_MSG_SYSTEM_TIME,
    MAV_MSG_SERVO_OUT,
    MAV_MSG_NEXT_MISSION_REQUEST_WAYPOINTS,
    MAV_MSG_NEXT_MISSION_REQUEST_RALLY,
    MAV_MSG_NEXT_MISSION_REQUEST_FENCE,
    MAV_MSG_NEXT_PARAM,
    MAV_MSG_FENCE_STATUS,
    MAV_MSG_AHRS,
    MAV_MSG_SIMSTATE,
    MAV_MSG_SIM_STATE,
    MAV_MSG_AHRS2,
    MAV_MSG_HWSTATUS,
    MAV_MSG_WIND,
    MAV_MSG_RANGEFINDER,
    MAV_MSG_DISTANCE_SENSOR,
    MAV_MSG_TERRAIN,
    MAV_MSG_BATTERY2,
    MAV_MSG_CAMERA_FEEDBACK,
    MAV_MSG_GIMBAL_DEVICE_ATTITUDE_STATUS,
    MAV_MSG_OPTICAL_FLOW,
    MAV_MSG_MAG_CAL_PROGRESS,
    MAV_MSG_MAG_CAL_REPORT,
    MAV_MSG_EKF_STATUS_REPORT,
    MAV_MSG_LOCAL_POSITION,
    MAV_MSG_PID_TUNING,
    MAV_MSG_VIBRATION,
    MAV_MSG_RPM,
    MAV_MSG_WHEEL_DISTANCE,
    MAV_MSG_MISSION_ITEM_REACHED,
    MAV_MSG_POSITION_TARGET_GLOBAL_INT,
    MAV_MSG_POSITION_TARGET_LOCAL_NED,
    MAV_MSG_ADSB_VEHICLE,
    MAV_MSG_BATTERY_STATUS,
    MAV_MSG_AOA_SSA,
    MAV_MSG_LANDING,
    MAV_MSG_ESC_TELEMETRY,
    MAV_MSG_ORIGIN,
    MAV_MSG_HOME,
    MAV_MSG_NAMED_FLOAT,
    MAV_MSG_EXTENDED_SYS_STATE,
    MAV_MSG_AUTOPILOT_VERSION,
    MAV_MSG_EFI_STATUS,
    MAV_MSG_GENERATOR_STATUS,
    MAV_MSG_WINCH_STATUS,
    MAV_MSG_WATER_DEPTH,
    MAV_MSG_HIGH_LATENCY2,
    MAV_MSG_AIS_VESSEL,
    MAV_MSG_MCU_STATUS,
    MAV_MSG_UAVIONIX_ADSB_OUT_STATUS,
    MAV_MSG_ATTITUDE_TARGET,
    MAV_MSG_HYGROMETER,
    MAV_MSG_AUTOPILOT_STATE_FOR_GIMBAL_DEVICE,
    MAV_MSG_LAST // MSG_LAST must be the last entry in this enum
};
/*----------------------------------variable----------------------------------*/

/*-------------------------------------os-------------------------------------*/

/*----------------------------------function----------------------------------*/

/*------------------------------------test------------------------------------*/

#ifdef __cplusplus
}
#endif



